package com.vpx.server.controller.system;

import com.vpx.server.bean.order.system.SysOperateLogPageOrder;
import com.vpx.server.bean.result.system.SysOperateLogPageResult;
import com.vpx.server.framework.authority.AuthPoicy;
import com.vpx.server.framework.authority.RequestAuth;
import com.vpx.server.framework.base.ResultMsg;
import com.vpx.server.service.system.SysOperateLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuks
 * @title: vpx
 * @module: 操作日志
 * @description: 操作日志接口
 * @date 2021/09/13 09:40
 */
@RestController
@RequestMapping(value = "/api/operateLog")
@Api(tags = "操作日志")
public class SysOperateLogController {

    @Autowired
    private SysOperateLogService sysOperateLogService;

    @GetMapping("pageQuery")
    @ApiOperation("分页查询单板列表")
    @RequestAuth(poicy = AuthPoicy.AUTH)
    public ResultMsg<SysOperateLogPageResult> pageQuer(SysOperateLogPageOrder order) {
        return sysOperateLogService.pageQuery(order);
    }

}
